﻿//function Employee() {
//    var mm = "mm";
//    this.name = "aa";
//    this.log = function () {
//        console.log(mm);
//    }
//}
//Employee.prototype.name = "bb";
//Employee.prototype.show = function () {
//    console.log(mm);
//}
//var emp = new Employee();
//emp.show();
//emp.log();

function Employee(name){
    this.name = name;
}